package org.example.service;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.example.entity.user;
import org.springframework.context.annotation.ComponentScan;

import java.util.List;

public interface userservice {
    void insert(user student);

    void delete(user student);

    void update(user student);

    user selectById(int id);

    List<user> selectAll();

}
